package com.tsc.design.responsibilityMode.example1;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: chentl
 * @Date: 2025/09/17/18:38
 * @Description:
 */
public abstract class LeaveHandler {

    protected LeaveHandler nextHandler;

    public LeaveHandler setNextHandler(LeaveHandler nextHandler) {
        this.nextHandler = nextHandler;
        return nextHandler;
    }

    public abstract String handleRequest(LeaveRequest leaveRequest );
}
